package cn.tuling.listener;

import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class ApplicationStartedEventListener {

    @EventListener(ApplicationStartedEvent.class)
    public void test(ApplicationStartedEvent event) {
        System.out.println("ApplicationStartedEvent 监听器");
    }
}
